﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC20Controller
    /// </summary>
    public class VYC20Controller
    {
        private static VYC20BO _vyc20Bo;
        public VYC20Controller()
        {
            _vyc20Bo = new VYC20BO();
        }
        public List<ModelVYC20> GetAllList()
        {
            return _vyc20Bo.GetAllList();
        }
        public int AddData(ModelVYC20 model)
        {
            return _vyc20Bo.AddData(model);
        }
        public int EditData(ModelVYC20 model)
        {
            return _vyc20Bo.EditData(model);
        }
        public int DeleteData(ModelVYC20 model)
        {
            return _vyc20Bo.DeleteData(model);
        }
        public List<ModelVYC20> GetById(int id)
        {
            return _vyc20Bo.GetById(id);
        }
    }
}